import {createApp} from "vue";
//导入一个全局组件
import App from "./App.vue";
//导入element-plus
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
//导入路由管理对象
import router from "./router/index.js";
//导入animat.css
import "animate.css";

import "./assets/css/index.css"
//导入element-plus的中文语言包
import zhCn from 'element-plus/es/locale/lang/zh-cn'




//创建Vue的程序，下面这行代码相当于new Vue();
const app=createApp(App);

//使用ElementPlus
app.use(ElementPlus,{
    locale:zhCn
});
//加载路由
app.use(router);

//接管页面
app.mount("#app");